[json-encode]: enforce naming conventions for functions.