fixed conversion to json