Converts a JSON object with fields and data arrays to an array of JSON objects with mapped fields and data