Add field numbers array containing field names as keys and field numbers as values to database query result data