fixed possible bug in dal
Hypermedia API and Collection+JSON