Fix ajax fields format