make hierarchy for jsonhandler