Interview assignment - RESTful API in Scala / Play