print -> return

I think this is supposed to be a return rather than a print. Print returns none and string serialization fails.