Pretty print JSON in debug page