change collect to map on the simple json serializer. Considering ripping it out and finding a way to serialize Map[String, Any] with recursion by json4s.