started working on json primitive