removing all but JSON properties code