Parser

- fixed parsing of links if there is only one resource present in the collection
- added to_s method to entity
- improved rendering of source in json representation of link