Support json (as javascript)