Update message_registry to ignore custom format for any/object types. (#329)

The comment in the code said 'If we don't recognize the format, the spec says we fall back to just using the type name.', but it was not fully true as it was only falling back for certain types, updated logic should fix this.
3 files changed