Json type; sample code now uses all types