diff --git a/lib/quickbooks/model/base_model.rb b/lib/quickbooks/model/base_model.rb
index <HASH>..<HASH> 100644
--- a/lib/quickbooks/model/base_model.rb
+++ b/lib/quickbooks/model/base_model.rb
@@ -27,6 +27,14 @@ module Quickbooks
         step2
       end
 
+      def as_json(options = nil)
+        options = {} if options.nil?
+        except_conditions = ["roxml_references"]
+        except_conditions << options[:except]
+        options[:except] = except_conditions.flatten.uniq.compact
+        super(options)
+      end
+
       def to_xml_ns(options = {})
         to_xml_inject_ns(self.class::XML_NODE, options)
       end
as_json and to_json throwing stack too deep exception #<I>