added data action to return json formatted data passed to pdf
refactoring
return json from pdf doc in data action
hidden link to data json for testing purposes
Merge pull request #381 from ministryofjustice/data_test

Data action