added guarded attrs and conversion of collection to array / json
removed apsect-mock to fix conflict with parent app having it