compatibility with aeson 0.7