Add case statement to Myrial

This is tested against a local installation of myria-web.

Fixes  #135