Fixes domain for jsons