Jackson serializer for Repository.java