Convert RunQuery to FormModel