Updating super constructor for JSON