config for time module
use json_encode where possible