Added json support for formats
Added json support for formats