fix #47: JSON conv broken since 2.2.1