Generalize JSONReader and create more accessors
Entities now successfully maps entity names to their ID. Added 6 accessors to get the entity.