gocraft/web middleware for mapping JSON request into a struct