Basic REST API  prototype working
Added custom nested serialisation to work with MongoDB