Added a toMap() method to BuildInfo which can be used to get a Map[String, Any] of all BuildInfo fields.