Fix class entity for undefined JSON_PRETTY_PRINT constant