use ::build_inline to make automatic creation of collection representer work for both module and Decorator.
collection_for works with Hash and JSON.
Removed class methods `::from_json`, `::from_hash`, `::from_yaml` and `::from_xml`.