Add rest backend and JSON structure.