PMGJSONEncoder now intelligently converts numpy types.