Fixed problem on HTTP response: now always returns the fieldTypes in JSON response