fixed a simple bug in 0.3.6 that broke the definition of singletons. add a conversion to the as function that converts arbitrary values to strings