Refactoring

Add the meta-information required for standard JSON API