JSONSelect implementation in Go