export layer via json as well