Allowing yaml but not json configs