update Gemfile.lock
add symbol key option to serializers
fix indentation
have matrix logic build a proper tree instead of a fake one, so serializing matrix entires works as expected