[api] Add date_registered.
[api] Refactor
Merge pull request #7 from eea/json-api

Json api