[#6337] Return variation meta if it exists

includes some code standards cleanup
Merge pull request #6405 from tamarazuk/master

[#6337] Return variation meta if it exists