added serializer and flag if hint is used