Filter Json Array By Key Value Javascript Interview