Fix parsing bug
Fix parsing bug

Summary: facepaw

Test Plan: unit tests

Reviewed By: jmswen, andreazevedo

Differential Revision: D2915188

fb-gh-sync-id: a81c9b1a20afcacfd293b685055150d2fb60d534
shipit-source-id: a81c9b1a20afcacfd293b685055150d2fb60d534

facebook/mcrouter,facebook/mcrouter,yqzhang/mcrouter,synecdoche/mcrouter,synecdoche/mcrouter,yqzhang/mcrouter,yqzhang/mcrouter,synecdoche/mcrouter,facebook/mcrouter,facebook/mcrouter,synecdoche/mcrouter,yqzhang/mcrouter