Map class names and entry categories when exporting JSON for form generator