Fix issue with management command data storage

So this was storing a quoted string, which is apparently sometimes a
problem.
Merge pull request #4118 from dimagi/management-command-fix

Fix issue with management command data storage