Remove removeNullIds fn, check for null id in serializeHasMany