Revert "get default values from getState in getMetaData method"

This reverts commit 1905a829e34d1c470b1d83de7925180d679a266f.

It is not very usefull now but a feature to be added in future.