Very simple implementation of pojo generator