Java to Juniper-cli format that tailf accepts

Hi,
Is there any library that can serialize a java class, generated from yang, to tail-f config format? Similar to ObjectMapper in Jackson library ?