slightly cleaner way to convert to postgre field names