Changed the json structure for resource customfields