Fixed json parser, now it correctly extracts the given fields