change jsonobject to properties