add possibility to redefine serialization for models field