Add ContentType option and JSON arrays support