jsonform modified to be a component