Added documentation for the json_size function