switch from encoding/json to siaencoding