Moved the output formats specification to the global define file to make them global available.
Allow for adding objects that has a parent.
Support for attribute navigation with JSON output and better JSON output support.