Use camelCase for JSON properties. Closes #2417.