Removed manual json parsing. Added GSON for parsing json