Added check to see if annotation style is jackson2