PLD: test and fix for non-string lists, closes #612
Merge pull request #613 from onaio/612-json-endpoint-exception

PLD: test and fix for non-string lists, closes #612