Move REST Input Parser to REST/Common

Move REST Input Parser to REST/Common

The Parser is required by the REST client as well.