Turn JSON from web API to a nicely formatted PDF