Added simple fix for infinite recursion in entity mapping if class contains a field of same type as the class. In such case will skip that field.