json_extract_multiple implementation to extract multiple json fields at once