[FEATURE] Compatible with PHP 5.3; Adds JsonSerializable interface workaround;

Have not tested on versions below PHP 5.3
Merge pull request #6 from rclarkburns/legacy

Adds JsonSerializable interface workaround

Thanks for making these changes! I'm going to close out your issue #5 with this merge.