implement stricter format of bemjson