Postgresql Json Array Find Typescript Interview