Support inline representers on collections

Inline representers do not work for collections in 1.6.0 or current master. [Minimal example](https://gist.github.com/rsutphin/6165202). This patch makes them work — verified with tests and with the minimal example.