Make unknown metadata an error rather then an exception

Fixes #256