JSON Prettify

Prettify a JSON string with custom indentation and optional key sorting.