Update json_generator.php

Removed json_indent() as json_encode() has JSON_PRETTY_PRINT flag for same functionality.