I'm using the "eclipselink.media-type"="application/json" on the JaxBMarshaller to generate JSon from classes with XML annotations.

I have a wrapper class called Feed which holds varying types of FeedContent. In the case I'm looking at, the type is a Categories class that inherits from FeedContent, which has an array of Category objects.