Remove ActiveSupport dependency and support parsing of nested resources