refactoring
return json from pdf doc in data action
hidden link to data json for testing purposes