Translate data from JSON objects to PHP Array instead of stdClass