refactor ProjectsRestClient

- extract json-parsing part into ProjectsParser
- add unit test for ProjectsRestClient and ProjectsParser

Related to issue #56