[#1] Handle bad json in the database for odi-certificate
[#1] Added tests for helper functions
Merge pull request #2 from datagovuk/1-handle-bad-json

Handle bad json