Implement \Jsonserializable for php >=5.4

I'm hoping you can make a 3.x line of development for >=5.4 php.  It's quite handy to not have to manually (string) or ->toString() the object when using json_encode.