JSON support for _embedded resources

Resources can now specify other embedded resources for embedding.
Embedded resources appear in JSON results only at the moment.