Fixing some install issues

1) Marshal::dump seems to generate unfriendly sql on 1.9. use ActiveSupport::JSON
2) deployment is a hash during this section