fix fn for adding bemjson