Returning configuration of root field mappers toXContent method only if they are enabled