Basic linting (avoid global variables in for loop, fix missing/extra semicolons)
* Added _make_pack_collection_object
* Now object methods return other objects and not raw JSON