Json api subent top linked

- Changed puts to Kernel.warn in hopes to suppress warnings in test output
- Refactored json api tests to only make one assertion per test
- json api now entities' entities in the top level linked hash