Add parse specs to ensure backwards compatibility
Add option to wrap single elements for json api format