Allowed the objects to be generated from JSON responses