added new JSON parsing/conversion utility