Adding a jsonification command for pdf