JsonSerializable support for PHP < 5.4 closes #120