indentation fix
adds to_arrays(), to_objects, to_json() functions to result sets