started implementing JSON parser