Correctly handle dict string
Merge branch 'master' of https://github.com/revmic/hcp_restricted

* 'master' of https://github.com/revmic/hcp_restricted:
  Added access statistics to database and report page.