Extracts json parsing method