Fast JSON APIs in Rails with Key-Based Caches and ActiveModel::Serializers May 30, 2013 api json performance rails web