Switched out serialize method

I was not able to publish objects with circular references.  So then I found circular-json [https://github.com/WebReflection/circular-json] and switched out the serialize method.