JSON formatting

Added pretty printing