Added and modified fmt, json and os examples.