added first version of JSON helper