add json-parse to unit test of handler