Change JSON attribute to separate attributes