Make Paraffin JSON serializable, Add query method that automatically binds to the local instance.