MongoDB REST API example implementation using Flask for serving resources and Colander library for data validation