(PUP-2484) Ensure that Modulefile dependencies are properly serialized.
Prior to this change, dependencies expressed in the Modulefile were
incorrectly being coerced to Strings before being serialized to JSON; a
change which seems to have been accidentally precipitated by our
migration away from PSON.
This change restores the intended behavior, serializing the dependencies
to JSON in the same way they used to.