Fix for leaking field ID's in content type validation errors

Content Management API

This change fixes a bug where an internal representation of Content Types could be returned to a client as part of a validation error.