Basic API around memories

Signed-off-by: Alan Gardner <alan@armoin.com>
Initial adding of JSON functionality

Signed-off-by: Alan Gardner <alan@armoin.com>
Sharing memory partial between collection and resource

Signed-off-by: Alan Gardner <alan@armoin.com>
Tweaks

Signed-off-by: Alan Gardner <alan@armoin.com>
Merge branch 'api'