Fix for JSON parsing that accepts only 2-item lists
Merge pull request #1319 from lmorchard/json-param-list-issue

Fix for JSON parsing that accepts only 2-item lists