Added pretty JSON printing in development mode