Papertrail http/json API wrapper
Ported paper_wrap from Zest internal codebase