fix for annotation processing for enum arrays and opening up for better re-use from tooling