Python variable and function identifiers were changed
from camel style to lowercase-underscore style.
Field identifiers of JSON objects were not changed
because such changes would require a lot of frontend code editing.