Support links json serialization with inline objects

Hey,

This fixes #41

PS: This is possible thanks to @schmittjoh merging https://github.com/schmittjoh/serializer/pull/28 ... So thank you @schmittjoh :-)