Fix JSON dump field names (fixes #45)