Made JSON class abstract
edited comments