Added JSON marshal interfaces and a to short string function
Added JSON marshal interfaces and a to short string function