added json converter and tested functionality