Fix json encoding issues