added json parse methods