[json] Is it valid to define functions in JSON results?