forced https, fixed encoding json issue