Tried to implement correct parsing.
Substituted JSON_parser for my own parser