Fixed saving procedure in scalatra sample