[#6337] Return variation meta if it exists

includes some code standards cleanup