correctly camelize final JSON attributes