Implemented proper JSON parsing method.
Sped up JSON parsing.