removed doctrine ORM; updating shop api; build tree object by json/array