adds load and dump methods and switches Query.get_query() to Query.raw()