Add newlines in jinify output, map parents properly

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>