Fixes #3, support .json references