Use as_document instead of serializable_hash
Bug 1059858 - Expose requires via REST API

Decorate cartridges properly with requires