[REVIEW] #487 If metadata value is already a boolean do not convert it.

Fixes #487