Modified jsonobjects get function