clean up the Collection class

Removed the jsonColl method, since it's not called. Used
hasOwnProperty throughout. Removed the hasOwnProperty check from the
add method, since none of the callers check the return value to make
sure the assignment happened.