#SB-118 Implement artifact metadata support

- Fixed test cases.
- Improved formatting.