Added json format handling and alternatives