Fixing an issue were as_protobuf would not coerce fields before attempting to serialize into a protobuf model