change callback params from hashmap to json string