Updated runtime to use $stringify

Also separates out dynamic and individual properties in the runtime
code.