fixed the json parser issue. It works properly now